import { createApp } from 'vue'

import 'element-plus/dist/index.css'

import './styles/style.css'
import App from './App.vue'

import router from './router/index'
import store from './store/index'

import { i18n } from './lang/index.js'

const app = createApp(App)
app.config.globalProperties.$i18n = i18n
app
.use(router)
  .use(store)
  .use(i18n)
  .mount('#app')

// import ElementPlus from 'element-plus'
// import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
// .use(ElementPlus, { locale: zhCn })